function cookie(hash) {
	var message = 'TREHASH_' + hash;
	if (typeof (window.postMessage) !== "undefined") {
		parent.postMessage(message, "*")
	} else {
		parent.location.hash = message;
	}
	;
}
function reloadParent() {
	var message = 'LOGINCOMPLETE';
	if (typeof (window.postMessage) !== "undefined") {
		parent.postMessage(message, "*")
	} else {
		parent.location.hash = message;
	};
}

 
